package com.neusoft.oa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

public class Notice {
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private long nocId;
    private String nocName;
    private java.sql.Timestamp nocTime;
    private String nocAutor;
    private String nocType;
    private long nocFlag;
    private String nocContent;


    public long getNocId() {
        return nocId;
    }

    public void setNocId(long nocId) {
        this.nocId = nocId;
    }


    public String getNocName() {
        return nocName;
    }

    public void setNocName(String nocName) {
        this.nocName = nocName;
    }


    @JsonFormat(pattern = "yyyy-MM-dd- HH:mm:ss",timezone = "GMT")
    public java.sql.Timestamp getNocTime() {
        return nocTime;
    }

    public void setNocTime(java.sql.Timestamp nocTime) {
        this.nocTime = nocTime;
    }


    public String getNocAutor() {
        return nocAutor;
    }

    public void setNocAutor(String nocAutor) {
        this.nocAutor = nocAutor;
    }


    public String getNocType() {
        return nocType;
    }

    public void setNocType(String nocType) {
        this.nocType = nocType;
    }


    public long getNocFlag() {
        return nocFlag;
    }

    public void setNocFlag(long nocFlag) {
        this.nocFlag = nocFlag;
    }


    public String getNocContent() {
        return nocContent;
    }

    public void setNocContent(String nocContent) {
        this.nocContent = nocContent;
    }

}
